package com.toune.dltools.http

/**
 * @Author Dong Lei
 * @Date 2020/12/16 0016-下午 14:35
 * @Info 描述：
 */
class IBaseCallBack<T> {
    companion object {
        val headerMap = HashMap<String, Any>()
        var SUCCESS_CODE = 200
        var ERROR_CODE = 0
        var TOKEN_ERROR_CODE = 2001
        var codeStr = "code"   //code对应的字段对应名
        var msgStr = "msg" //Message对应的字段对应名
        var dataStr = "data"    //data对应的字段对应名
        var loginVoStr = ""     //登录返回的数据
    }

    var data: T? = null
    var msg: String? = null
    var code: Int = 0
}